<div id="exchangePanelContent" class="list">
    <table class="table table-bordered ">
        <colgroup> 
        	<col width="50px" />
        	<col width="50px" />
        	<g:each in="${shareList}" status="i" var="shareInstance">
        		<col width="75px"/>
        	</g:each>
        	<col width="50px"></col>
        </colgroup>
        <thead>
            <tr>
            	<th ><i class="icon-user icon-white"></i> <br />
            	Player</th>
            	<th>(&euro;) <br /> Cash </th>
            	<g:each in="${shareList}" status="i" var="shareInstance">
            		<th class="shareColumn">
            			${fieldValue(bean: shareInstance, field: "name")}<br /> 
            			<span style="font-size: large;">${shareInstance.price}</span>
            		</th>
            	</g:each>
            	<th>Wealth</th>
            </tr>
        </thead>
        <tbody>
		<g:each in="${playerInstanceList}" status="p" var="playerInstance">
			<tr >
				<th>
					${playerInstance.nickname}
				</th>
				<th>
					${playerInstance.cash} 
				</th>
				<g:each in="${shareList}" status="s" var="shareInstance">
					<% String value = exchangeMap.get(playerInstance.id + "x" + shareInstance.id) %>
					<td class="shareColumn">
					${value ? value : 0} 
					</td>
				</g:each>
				<th>${playerInstance.wealth}</th>
			</tr>
		</g:each>
	</tbody>
         
    </table>

</div>
        